package com.wisdytech.linkdcs.equipLifeCycle.maintain.dao;

import com.wisdytech.linkdcs.equipLifeCycle.maintain.model.MaintenanceType;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenbin
 * @since 2018-06-09
 */
public interface IMaintenanceTypeDao extends BaseMapper<MaintenanceType> {

	/**
	 * 获取保养项名称
	 * @param typeId
	 * @return
	 */
	List<MaintenanceType> getTypeAndItemName(String typeId);

	List<MaintenanceType> listTypeAllBySearch(@Param("search")String search);

}
